<%@ page import="ccfc.Friar" %>



<div class="fieldcontain ${hasErrors(bean: friarInstance, field: 'name', 'error')} ">
	<label for="name">
		<g:message code="friar.name.label" default="Name" />
		
	</label>
	<g:textField name="name" value="${friarInstance?.name}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: friarInstance, field: 'active', 'error')} ">
	<label for="active">
		<g:message code="friar.active.label" default="Active" />
		
	</label>
	<g:checkBox name="active" value="${friarInstance?.active}" />
</div>

<div class="fieldcontain ${hasErrors(bean: friarInstance, field: 'email', 'error')} ">
	<label for="email">
		<g:message code="friar.email.label" default="Email" />
		
	</label>
	<g:textField name="email" value="${friarInstance?.email}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: friarInstance, field: 'induction', 'error')} required">
	<label for="induction">
		<g:message code="friar.induction.label" default="Induction" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="induction" precision="day"  value="${friarInstance?.induction}"  />
</div>

<div class="fieldcontain ${hasErrors(bean: friarInstance, field: 'nickname', 'error')} ">
	<label for="nickname">
		<g:message code="friar.nickname.label" default="Nickname" />
		
	</label>
	<g:textField name="nickname" value="${friarInstance?.nickname}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: friarInstance, field: 'phone', 'error')} ">
	<label for="phone">
		<g:message code="friar.phone.label" default="Phone" />
		
	</label>
	<g:textField name="phone" value="${friarInstance?.phone}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: friarInstance, field: 'roasted', 'error')} ">
	<label for="roasted">
		<g:message code="friar.roasted.label" default="Roasted" />
		
	</label>
	<g:checkBox name="roasted" value="${friarInstance?.roasted}" />
</div>

